#ifndef BOARD_H
#define BOARD_H

#include <QWidget>
#include <qizi.h>

class board : public QWidget
{
    Q_OBJECT
public:
    explicit board(QWidget *parent = nullptr);

    qizi a[32];
    int r;//棋子半径

    QPoint locate(int row,int column);//获取棋子的坐标
    QPoint locate(int location);
    void drawqizi(QPainter&painter,int loc);

    void paintEvent(QPaintEvent*);

signals:

};

#endif // BOARD_H
